<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Adv extends Model
{
    protected $table = 'adv';
    public $fillable = ['name'];

    public function content()
    {
        return $this->hasMany('App\Model\Advcontent', 'advid', 'id');
    }
}
